import request from "@/utils/request";

export function planList(data) {
    return request({
        url: '/plan/list',
        method: 'post',
        data
    })
}

export function planAdd(data) {
    return request({
        url: '/plan/add',
        method: 'post',
        data
    })
}

export function planDelete(data) {
    return request({
        url: '/plan/delete',
        method: 'post',
        data
    })
}

export function planEdit(data) {
    return request({
        url: '/plan/edit',
        method: 'post',
        data
    })
}

export function planSelect(data) {
    return request({
        url: '/plan/select',
        method: 'post',
        data
    })
}

export function planSelectThreeDays() {
    return request({
        url: '/plan/selectThreeDaysPlan',
        method: 'get'
    })
}

export function planAudit(data) {
    return request({
        url: '/plan/auditPlan',
        method: 'post',
        data
    })
}
